//
// Created by Semir on 2020/6/9.
//

#include <iostream>

using namespace std;

int Sum_Solution(int n) {
    int sum = n;
    bool x = n > 0 && (sum += Sum_Solution(n-1));
    return sum;
}

int main() {
    int res = Sum_Solution(100);
    cout << res << endl;
    return 0;
}